package cn.dust.design.pattern.structural.flyweight;

/**
 * @Author: dust
 * @Date: 2019/11/26 21:34
 */
public class Manager implements Employee{
    @Override
    public void report() {
        System.out.println(reportContent);
    }

    private String title="部门经理";//内部状态
    private String department;//外部状态
    private String reportContent;

    public Manager(String department) {
        this.department = department;
    }

    public void setReportContent(String reportContent) {
        this.reportContent = reportContent;
    }
}
